package com.benchmark.springboot.job;

import lombok.extern.slf4j.Slf4j;
import org.quartz.JobExecutionContext;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * cpu 100
 *
 * @author yu 2020/10/22
 */
@Slf4j
public class CpuHighJob extends QuartzJobBean {

    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) {
        log.info("启动cpu占用100%模拟测试");
        while (true) {

        }
    }
}
